﻿using SqlSugar;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.DBHelper
{
    public interface ISqlSugarAppService : IApplicationService
    {

        /// <summary>
        /// 创建获取Business实例
        /// </summary>
        /// <returns></returns>
        SqlSugarClient GetBusinessInstance();

        //创建获取Process实例 
        SqlSugarClient GetProcessInstance();

        //创建获取Platform实例 
        SqlSugarClient GetPlatformInstance();

        //创建获取Engine实例 
        SqlSugarClient GetEngineInstance();

        //创建获取ToDoCenter实例 
        SqlSugarClient GetToDoCenterInstance();

        //创建获取EngineEventBus实例 
        SqlSugarClient GetEngineEventBusInstance();

        //创建获取EngineEventBus2实例 
        SqlSugarClient GetEngineEventBus2Instance();

        //创建获取老BPM NIP_WorkFlow实例 SqlServer数据库
        SqlSugarClient GetNIPWolkFlowInstance();

        //创建获取老BPM NIP_Wechat SqlServer数据库
        SqlSugarClient GetNIP_WechatInstance();

        //创建获取老BPM NIP_Wechat_History SqlServer数据库
        SqlSugarClient GetNIP_Wechat_HistoryInstance();

        //创建获取susapi实例 
        SqlSugarClient GetSUSInstance();

        //创建获取ids NPPlatformManage实例 
        SqlSugarClient GetNPPlatformManageInstance();
    }
}
